package com.flower.auth.convert;

import com.flower.auth.dto.AuthPermissionDTO;
import com.flower.auth.infra.basic.entity.AuthPermission;
import com.flower.domain.entity.AuthPermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author lavender
 * @version 1.0
 * @date 2024-07-16 20:21
 */
@Mapper
public interface AuthPermissionDTOConverter {

    AuthPermissionDTOConverter INSTANCE = Mappers.getMapper(AuthPermissionDTOConverter.class);

    AuthPermissionBO convertDTOToBO(AuthPermissionDTO authPermissionDTO);
}
